#include "test.h"
#include "vpentrance.h"
Test::Test(QObject *parent)
    : QObject{parent}
{

}

void Test::test_initial_success()
{
    VpEntrance* test = VpEntrance::getInstance();
//    bool res = test->start("D:/DownKyiDownload/input.mp4", 640, 480);
    int i = 100;
    while(i--) {
        av_usleep(100000);
        qDebug()<<"第"<<i<<"次"<<av_gettime_relative() / 1000000.0;
    }
    bool res = true;
    QVERIFY(res);
}
